package com.xh.one2one.lesson.dao;

import com.aspose.words.LineSpacingRule;
import com.xh.core.bean.XhPage;
import com.xh.one2one.lesson.bean.request.LessonSummaryDetailsRequest;
import com.xh.one2one.lesson.model.LessonSummaryDetails;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

/**
 * <p>
 * 教学总结详情 Mapper 接口
 * </p>
 *
 * @author TW
 * @since 2021-05-06
 */
public interface LessonSummaryDetailsMapper extends BaseMapper<LessonSummaryDetails> {

    XhPage<LessonSummaryDetails> selectQuestionPage(@Param("page")XhPage page, @Param("bean")LessonSummaryDetailsRequest bean);

    Integer selectQuestionCountByType(@Param("lessonThirdId")String lessonThirdId,@Param("type")Integer type);
}
